package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.Table;
import java.io.Serializable;
											    import java.util.Date;
																										
/**
 *
 * <h1>用户地址表表 micro_user_address</h1>
 * @author levelcoder
 * @date 2020-08-04 00:11:09
 */
@ApiModel(description = "用户地址表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_user_address")
public class UserAddress implements Serializable{

	private static final long serialVersionUID = 1L;

	@Id
    @ApiModelProperty(value = "主键编号")
	private Long id;

	
			
					/**
			 * 用户编号
			 */
        	@ApiModelProperty(value = "用户编号")
			private String userCode;

			
					/**
			 * 收货人名称
			 */
        	@ApiModelProperty(value = "收货人名称")
			private String receiverName;

			
					/**
			 * 收货人电话
			 */
        	@ApiModelProperty(value = "收货人电话")
			private String receiverPhone;

			
					/**
			 * 省份名称
			 */
        	@ApiModelProperty(value = "省份名称")
			private String provinceName;

			
					/**
			 * 城市名称
			 */
        	@ApiModelProperty(value = "城市名称")
			private String cityName;

			
					/**
			 * 区域名称
			 */
        	@ApiModelProperty(value = "区域名称")
			private String areaName;

			
					/**
			 * 具体地址
			 */
        	@ApiModelProperty(value = "具体地址")
			private String detailedAddress;

			
					/**
			 * 邮政编码
			 */
        	@ApiModelProperty(value = "邮政编码")
			private String postalCode;

			
					/**
			 * 是否默认地址 1.是 2.否
			 */
        	@ApiModelProperty(value = "是否默认地址 1.是 2.否")
			private Byte isDefault;

			
					/**
			 * 创建时间
			 */
        	@ApiModelProperty(value = "创建时间")
			private Date createTime;

			
					/**
			 * 修改时间
			 */
        	@ApiModelProperty(value = "修改时间")
			private Date updateTime;

			}
